#pragma once

#include "WorkflowID.h"

class DisplayWorkflow : public AbstractPresentationWorkflow
{
public:
	BEGIN_DEFINE_CLASS(CLSID_DispalyWorkflow)
		USE_INTERFACE_ENTRY(AbstractPresentationWorkflow)
	END_DEFINE_CLASS()

	DisplayWorkflow();
	virtual ~DisplayWorkflow();

	virtual Graphics* GetGraphics() const;

protected:
	virtual void Prepare(PresentationContext& context);
	virtual void RunPresentation(PresentationContext& context);
	virtual void FinishPresentation(PresentationContext& context);

private:
	Graphics* m_graphics;
};

AUTO_REGISTER_CLASSMAP_ENTRY(DisplayWorkflow)